'''
Created on May 12, 2011

@author: bruk
'''


class Line(object):
    __slots__ = ('i','j','k','l')
    def __init__(self, start, end):
        self.i = start[0]
        self.j = start[1]
        self.k = end[0]
        self.l = end[0]


class BoundingBox(object):
    def __init__(self,rect):
        self.Rect = rect
        self.TopEdge = False
        self.BottomEdge = False
        self.RightEdge = False
        self.LeftEdge = False
        


def pointInRect(x, y, rect):
    if (x > rect.left) and (x < rect.right) and (y > rect.top) and (y < rect.bottom):
        return True
    else:
        return False
            


def SimulatePhysics(actors):
    pass